#include <49func.h>
void *threadFunc(void *arg){
    //sleep(5);
    printf("I am child thread!\n");
    //return (void *)123;
    pthread_exit((void *)246);
}
int main()
{
    pthread_t tid;
    pthread_create(&tid,NULL,threadFunc,NULL);
    //void ** pret;
    //pthread_join(tid,pret);
    
    //void * ret;
    //pthread_join(tid,&ret);
    //printf("ret = %ld\n", (long) ret);
    
    pthread_join(tid,NULL);
    printf("I am main thread!\n");
    return 0;
}

